package com.rerun.entity.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rerun.common.util.JsonDateFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 填充工作经历
 *
 * @author dax.
 * @version v1.0
 * @since 2017 /10/13 11:14
 */
public class WorkExp implements Serializable {
    private static final long serialVersionUID = -7771323000355018863L;
    private String  id;
    private String companyName;
    private String job;
    private String jobPay;
    @JsonSerialize(using = JsonDateFormat.class)
    private Date startDate;
    @JsonSerialize(using = JsonDateFormat.class)
    private Date endDate;
    private String workDescribe;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    /**
     * Gets company name.
     *
     * @return the company name
     */
    public String getCompanyName() {
        return companyName;
    }

    /**
     * Sets company name.
     *
     * @param companyName the company name
     */
    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    /**
     * Gets job.
     *
     * @return the job
     */
    public String getJob() {
        return job;
    }

    /**
     * Sets job.
     *
     * @param job the job
     */
    public void setJob(String job) {
        this.job = job;
    }

    /**
     * Gets start date.
     *
     * @return the start date
     */
    public Date getStartDate() {
        return startDate;
    }

    public String getJobPay() {
        return jobPay;
    }

    public void setJobPay(String jobPay) {
        this.jobPay = jobPay;
    }

    /**
     * Sets start date.

     *
     * @param startDate the start date
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    /**
     * Gets work describe.
     *
     * @return the work describe
     */
    public String getWorkDescribe() {
        return workDescribe;
    }

    /**
     * Sets work describe.
     *
     * @param workDescribe the work describe
     */
    public void setWorkDescribe(String workDescribe) {
        this.workDescribe = workDescribe;
    }

    @Override
    public String toString() {
        return "{" +
                "id:" + id +
                ", companyName:" + companyName +
                ", job:" + job +
                ", jobPay:" + jobPay +
                ", startDate:" + startDate +
                ", endDate:" + endDate +
                ", workDescribe:" + workDescribe +
                '}';
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

}
